sysroot: Detect early on when /boot is on vfat
authorColin Walters <walters@verbum.org>
Sun, 6 Apr 2025 21:24:26 +0000 (17:24 -0400)
committerColin Walters <walters@verbum.org>
Wed, 30 Apr 2025 19:29:50 +0000 (15:29 -0400)
commitcbce703cf7fca2a83911e12063554d9f2b0757b9
tree34b64f28057aa0f7d612f23001c6d4c2660ad931
parente04ad8485cc8d37bcd3ea5254da52ac2acc6a315
sysroot: Detect early on when /boot is on vfat

We do want to support this (as part of supporing the
Boot Loader Spec) but because we use symlinks in `/boot`,
can't yet.

Error out very early on consistently if we detect
vfat for /boot, but also add a member variable to keep track
of this in preparation for supporting it.

Signed-off-by: Colin Walters <walters@verbum.org>
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c
tests/kolainst/nondestructive/itest-alt-sysroot.sh [new file with mode: 0755]